package com.songhuan.web.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.songhuan.web.dto.*;
import com.songhuan.web.dto.query.*;
import com.songhuan.web.entity.*;
import com.songhuan.web.tools.dto.*;
import com.songhuan.web.dto.OrganizationRelativeUserDto;
import com.songhuan.web.dto.query.OrganizationRelativeUserPagedInput;
import com.songhuan.web.entity.OrganizationRelativeUser;
import com.songhuan.web.tools.dto.PagedResult;
import lombok.SneakyThrows;


/**
 * 班级关联功能的Service接口的定义清单
 */
public interface OrganizationRelativeUserService extends IService<OrganizationRelativeUser> {

    /**
     * 班级关联的分页查询方法接口定义
     */
    PagedResult<OrganizationRelativeUserDto> List(OrganizationRelativeUserPagedInput input) ;
    /**
     * 班级关联的新增或者修改方法接口定义
     */
    OrganizationRelativeUserDto CreateOrEdit(OrganizationRelativeUserDto input);

    void updateOrganizationRelativeUser(AppUserDto appUserDto);

    /**
     * 获取班级关联信息
     */
    OrganizationRelativeUserDto Get(OrganizationRelativeUserPagedInput input);


    @SneakyThrows
    void Apply(OrganizationRelativeUserDto input);

    @SneakyThrows
    void ApplySuccess(OrganizationRelativeUserDto input);
}
